﻿<!DOCTYPE html>
<html lang="en-us">
    <head>
        <title>Consistent Overhead Byte Stuffing (COBS) Encoder/Decoder</title>
        <meta name="description" content="Consistent Overhead Byte Stuffing (COBS) Encoder/Decoder">
        <meta name="keywords" content="Consistent Overhead Byte Stuffing, COBS, Consistent Overhead Byte Stuffing online Encoder, Consistent Overhead Byte Stuffing Decoder, COBS Encoder online, COBS decoder online">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="shortcut icon" href="favicon.ico">

        <link rel="apple-touch-icon" href="touch-icon-iphone.png">
        <link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png">
        <link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.png">
        <link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png">

        <link rel="stylesheet" href="css/bootstrap.min.css">
        <link rel="stylesheet" href="css/cookieconsent.min.css">

        <script src="js/cookieconsent.min.js"></script>
        <script src="js/index.js"></script><meta charset="UTF-8">

        <style>
            @media only screen and (max-width: 450px) {
                .notMobile {
                    display: none;
                }
            }

            .center {
                margin: auto;
                width: 60%;
                border: 3px solid #73AD21;
                padding: 10px;
                align: center;
                text-aling: center;
            }
        </style>
            <script>
      window.addEventListener("load", function ()
      {
        window.cookieconsent.initialise({
          domain: "crccalc",
          type: "opt-out",
          content: {
            message: 'This site uses cookies for analytics and ads. Allow cookies? This can be changed later.',
            dismiss: 'Allow cookies',
            deny: 'Prohibit',
            link: 'Learn more',
            href: 'privacy.php',
            close: '&#x274c;',
          },
          palette: {
            popup: {
              background: "#aaaaaa"
            },
            button: {
              background: "#f1d600"
            }
          },
          revokable: true,
          law: {
            regionalLaw: false
          },
          location: false,
          onStatusChange: function() {
              location.reload();
          }
        });
      });
    </script>
    </head>

    <body style="background: #efefef;">
        <div style="margin-top: 2em; margin-left: 1em; margin-right: 1em;" align="center">
            <div style="align-content: center; width: 850px; max-width: 100%;">
                <div name="myform" id="myform" style="margin-bottom: 10px;">
                    <textarea cols="45" class="form-control" id="textAreaInputData" style="min-height: 100px; max-height: 500px; resize: vertical; font-family: monospace;">00 11 11 00 22 22 00</textarea>

                    <div style="display:inline-block;">
                        <label>Delimiter:</label>

                        <select class="form-control" style="width: auto; display: inline;" id="cmbbxDelimiter"></select>

                        <script>
                            InitUi();
                        </script>
                    </div>

                    <button id="btnStuff" class="btn btn-default" onclick="Stuff();">Stuff</button>
                    <button id="btnUnstuff" class="btn btn-default" onclick="Unstuff();">Unstuff</button>
                </div>

                <div class="panel panel-default" style="display: block; text-align: left" id="sourceData">
                    <div class="panel-heading">Source data</div>
                    <div class="panel-body" id="lblSourceDataHex" style="font-family: monospace;"></div>
                </div>

                <p><script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-3210294270109310" data-ad-slot="3394305716"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>

                <div class="panel panel-default" style="display: block; text-align: left" id="processedData">
                    <div class="panel-heading">Processed data</div>
                    <div class="panel-body" id="lblProcessedDataHex" style="font-family: monospace;"></div>
                </div>

                <!-- <div id="enableJsNotification" style="font-family:monospace;" >
                    <p>Please enable JavaScript on this site or click one of the buttons above.</p>
                </div>

                <p>
                    Share your result:<br>
                    <input type="text" readonly id="shareurl"
                           onClick="this.setSelectionRange(0, this.value.length)" class="form-control"
                           style="background-color: #fff" />
                </p> -->

                <script>
                    Stuff();
                </script>

                <div id="con"></div>

                <p>
                    <a href="bytestuffing.php.html">Online CRC-8 CRC-16 CRC-32 Calculator</a><br>
                    <a href="privacy.php.html">Cookies policies</a>
                </p>
            </div>
        </div>
        <script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-76733529-1', 'auto');
  ga('send', 'pageview');

</script>    </body>
</html>